<!-- 我发起的、我处理的详情组件 -->
<template name="mydealdetailCom4">
	<view class="mydealdetailCom mydealdetailCom4">
		<view class="content">
			<view class="list">
				<view class="list_item">
					<view class="item_title">基础支付费率</view>
					<view class="item_text">{{infoData.rate/100}}%</view>
				</view>
			</view>
			<view class="list">
				<view class="list_item">
					<view class="item_title">BD</view>
					<view class="item_text">{{infoData.realname}} AID{{infoData.salesman_id}}</view>
				</view>
				<view class="list_item">
					<view class="item_title">商家电话</view>
					<view class="item_text item_phone" @click="makePhone(infoData.phone)">{{infoData.phone}}</view>
				</view>
				<view class="list_item">
					<view class="item_title">门店地址</view>
					<view class="item_text">{{infoData.address}}</view>
				</view>
				<view class="list_item">
					<view class="item_title">提交时间</view>
					<view class="item_text">{{infoData.submit_time}}</view>
				</view>
			</view>
			<view class="list">
				<view class="list_item">
					<view class="item_title">备注</view>
					<view class="item_text">
						<input type="text" v-model="remark" disabled="true" />
					</view>
				</view>
			</view>
		</view>
		<view class="audit">
			<view class="audit_title">审核流程</view>
			<view class="audit_con">
				<view class="audit_left"></view>
				<view class="audit_right">
					<view class="right_step">
						<view class="">
							<view class="rigth_stepTitle">发起申请</view>
							<view class="greyfont">{{infoData.realname}}AID   {{infoData.salesman_id}}</view>
						</view>
						<view class="greyfont">{{infoData.submit_time}}</view>
					</view>
					<view class="right_step">
						<view class="">
							<view class="rigth_stepTitle">
								{{infoData.operator_name}}
								<text :class="statusColor[infoData.status]">
									({{statusObj[infoData.status]}})
								</text>
							</view>
							<view class="greyfont">备注:{{infoData.reason}}</view>
						</view>
						<view class="greyfont">{{infoData.updated_at}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { shoprateaudit } from '../../../api/index.js'
	export default {
		data() {
			return {
				remark:'',
				statusObj:{
					'1':'审核通过',
					'2':'审核失败',
					'0':'审核中'
				},
				statusColor:{
					'0':'orangefont',
					'1':'bluefont',
					'2':'redfont'
				}
			}
		},
		props: {
			infoData:''
		},
		methods: {
			makePhone:function(phone){
				cm.makePhoneCall({
					phone:phone
				});
			}
		},
		watch:{
		}
	}
</script>

<style lang="scss" scoped>
	@import './mydealdetailCom.scss';
	.mydealdetailCom .content .list:nth-last-child(1){
		margin: 0;
	}
</style>